package org.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.Dto.DishDTO;
import org.example.entity.Dish;

import java.util.List;

public interface DishService extends IService<Dish> {

    void saveWithFlavor(DishDTO dishDTO);

    List<DishDTO> listWithFlavor(List<Dish> records);

    DishDTO getByIdWithFlavor(Long id);

    void updateWithFlavor(DishDTO dishDTO);
}
